fieldnames(S)
A=getfield(S,{2,2},'name')
B=getfield(S,{2,2},'ID')
S3=orderfields(S)
